﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace MyFloridaHouse.libSvOpenDistricts.ViewModel
{
    public partial class ViewModelBase
    {
        #region properties
        private bool _isGetUnassignedRegionsVisible = true;
        public bool isGetUnassignedRegionsVisible
        {
            get { return _isGetUnassignedRegionsVisible; }
            set
            {
                if (_isGetUnassignedRegionsVisible != value)
                {
                    _isGetUnassignedRegionsVisible = value;
                    NotifyPropertyChanged("isGetUnassignedRegionsVisible");
                }
            }
        }
        #endregion

        #region Commands
        private bool CmdToolsGetUnassignedRegionsCanExecute(object parameter)
        {
            return true;
        }

        private void CmdToolsGetUnassignedRegionsExecute(object parameter)
        {
            isGetUnassignedRegionsVisible = true;
        }
        #endregion
    }
}
